/**
 * Contains {@link Record}
 */
package logic.pathelements;

import logic.connectors.Connector;

/**
 * Abstract class for common SwitchRecord and RouterRecord functionality
 * @author Alexey Akimov <frinatella@gmail.com>
 */
public abstract class Record {
    
    /**
     * this record connector field
     */
    protected Connector connector;
    
    /**
     * Gettter
     * @return switch connector
     */
    public Connector getConnector() {
        return connector;
    }
    
    /**
     * Sets Record fields
     * @param connector this record connector field value
     */
    public Record(Connector connector) {
        this.connector = connector;
    }
}
